﻿<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="#" class="nav_icon"  target="mainframe">模板列表</a></li>
												<!-- <li><a href="index.php?app=view&act=add" target="mainframe">模板添加</a></li>-->


	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>模板列表</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span > 除非您修改了模板，否则一般不需要更新。除非您对PHPSCUP的模板很熟悉，否则，请不要随便修改模板，不恰当的模板会导致系统不能访问！</span>
                                    </div>



<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>

<tr>
	<td colspan="5" class="f14"><img src="{$web_view_dir}style/images/it_nav.gif" align="absmiddle" border="0" /> 用户模板</td>
</tr>
                          

 
<tr>
	<td class="bold" width="120px">模板截图</td>
	<td class="bold" width="20%">模板名称标题</td>
	<td class="bold" width="20%">模板文件夹名称</td>
	<td class="bold" width="30%">模板描述</td>
	<td class="bold" width="100px">样式选择</td>    
	<td class="bold"  width="150px">操作</td>
</tr>

                                 
<?php foreach((array)$infos as $_key => $_value ) { ?>                             

  <tr   onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

    <td ><img src="{SITE_URL}/scup/view/{$_key}/config/{$_value.image}" width="100px" height="100px" /></td>
    <td >{$_value.title}</td>
	<td >{$_key}</td>
    <td >{$_value.description}</td>
    
	<td >
 <select  onchange="ato_url('index.php?app=view&act=setcss&view={$_key}',this);" id="orderby">
<option class="txtgreen" value="0" >请选择...</option>
<?php foreach((array)$_value.style as $_key1 => $_value1 ) { ?>
<option value="{$_key1}"  <?php if (CSS_TYPE==$_key1) { ?> selected="selected" <?php } ?> >{$_value1.title}</option>
<?php } ?>
</select>   
    </td>
	
    <td>
	<?php if ($_key == VIEW_TYPE) { ?>...<?php } else { ?><a href="?app=view&act=lstatus&id={$_key}" onclick="return confirm('模板启用确认！此操作将会更改模板的使用 ！');">启用</a><?php } ?>
	
	
    
	</td>
	
 </tr>
 
<?php } ?>



 
 
 
 </tbody>
</table>


                             
                                 
                                 
                                 
                                 
                                 

                 </div>

</div>



<!--{inc(footer.view.html)}-->